package com.zxw.mallafter.service.impl;


import com.zxw.mallafter.dao.AdminLoginDao;
import com.zxw.mallafter.model.Account;
import com.zxw.mallafter.service.AdminLoginService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class AdminLoginServiceImpl implements AdminLoginService {
    private AdminLoginDao adminLoginDao;
    @Autowired
    public void setAdminLoginDao(AdminLoginDao adminLoginDao) {
        this.adminLoginDao = adminLoginDao;
    }
    @Override
    public Account adminLogin(Account account) {
        return adminLoginDao.adminLogin(account);
    }
}
